{% extends "user/base.html" %}{% load i18n %} {% block title %}{% trans "User edit" %}{% endblock %}
{% block content %}
<div>
	{% if user and form %}
	<form action="." method="post">
		{% if form.error_dict %}
		<p class="error">
			{% trans "Please correct the errors below." %} {{form.error_dict}}
		</p>
		{% endif %}
		<table>
			<tbody>
				<tr>
					<td>
						{% trans "user nickname:" %}
					</td>
					<td>
						{{form.nickname}}
					</td>
					<td>
						{% if form.nickname.errors %} {{form.nickname.errors.0}} {% endif %}
					</td>
				</tr>
				<tr>
					<td>
						{% trans "user email:" %}
					</td>
					<td>
						{{form.email}}
					</td>
					<td>
						{% if form.email.errors %} {{form.email.errors.0}} {% endif %}
					</td>
				</tr>

			</tbody>
		</table>
		<input type="submit" value="{% trans "update" %}" />
	</form>
	{% endif %}
</div>
{% endblock %}
